package com.cmcc.groupcontacts.firewall.dao.model;

import android.content.ContentValues;

/**
 * 信息拦截关键字数据模型
 * 
 * @author 
 * 
 */
public class KeywordsVO extends BaseModel {
	private static final long serialVersionUID = 1781842529550023705L;

	private Integer id;
	private String keywords;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public String getKeywords() {
		return keywords;
	}

	public static class MetaData {
		public static final String ID = "id";
		public static final String KEYWORDS = "keywords";
		public static final String[] ALL_COLS = { ID, KEYWORDS };
		public static String CREATE_DDL = "CREATE TABLE keywords (id INTEGER PRIMARY KEY, keywords TEXT);";
	}

	@Override
	public ContentValues parse2ContentValues() {
		putValue(MetaData.ID, id);
		putValue(MetaData.KEYWORDS, keywords);
		return contentValues;
	}
}
